#!/usr/bin/env node

const {Readable} = require('stream');

const rs=new Readable();
      fs=require('fs')
rs.push('hello');
rs.push('world');
rs.push(null);

//rs.pipe(process.stdout);
rs.pipe(fs.createWriteStream('./test.txt'));
